<{*
* Qualitative Themes for XOOPS
*
* @license       http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU General Public License (GPL)
* @project       IXThemes Project, http://ixthemes.org
* @theme_name    ixt00103
* @theme_demo    http://ixthemes.sourceforge.net/demo/x/index.php?xoops_theme_select=ixt00103
* @theme_author  Alexander Galochkin (algalochkin at users.sourceforge.net)
* @version       $Id: system_userform.html 1353 2009-11-28 07:03:49Z algalochkin $
*
* Thanks you, that you have left this header untouched!!!
*}>
<div class="ixt-Block">
<{if $lang_reset !== 1}>
 <div align="right" style="overflow: hidden">
  <div align="left" style="overflow: hidden; float: left; width: 50%">
   <h3><{$lang_login}></h3>
   <div id="ixt_block_login_form">
   <form method="post" action="<{$xoops_url}>/user.php" style="width: 100%">
    <label for="edit-name">Username:<span class="form-required" title="This field is required.">*</span></label>
    <div>
     <input type="text" maxlength="60" size="20" name="uname" />
     <input type="hidden" value="<{$xoops_requesturi}>" name="xoops_redirect" />
     <input type="hidden" value="login" name="op" />
    </div>
    <p></p>
    <label for="edit-pass">Password:<span class="form-required" title="This field is required.">*</span></label>
    <div>
     <input type="password" maxlength="60" size="20" name="pass" />
    </div>
    <p></p>
    <div align="left">
     <span class="ixt-button-wrapper ">
      <span class="l"></span><span class="r"></span>
      <input type="submit" name="login" value="<{$lang_login}>" class="ixt-button" />
     </span>
    </div>
    <{if $rememberme }>
     <div align="right" style="_height:100%;overflow:hidden;padding-top:10px;">
      <div align="left" style="float:left;overflow:hidden;">
       <p><{$lang_rememberme}></p>
      </div>
      <input type="checkbox" name="rememberme" value="On" />
     </div>
    <{/if}> 
    <input type="hidden" value="<{$xoops_requesturi}>" name="xoops_redirect" />
    <input type="hidden" value="login" name="op" />
    <p></p>
   </form>
   
    <{if $auth_openid}> 
     <br />
     <div style="text-align: <{$smarty.const._GLOBAL_LEFT}>;"><a href="#" onclick="xoopsGetElementById('ixt_openid-verify-form2').style.display = 'block'; xoopsGetElementById('ixt_block_login_form').style.display = 'none'; return false;"><{$lang_login_oid}></a></div>
    <{/if}> 
   </div>
   <{if $auth_openid}>
    <div id="ixt_openid-verify-form2" style="display: none;">
     <form method="get" action="<{$xoops_url}>/try_auth.php">
      <p><{$lang_youoid}></p>
      <input type="hidden" name="action" value="verify" />
      <input type="text" class="openid_url" name="openid_identifier" size="12" value="" />
      <input type="submit" value="<{$lang_login}>" />
     </form>
     <div style="text-align: <{$smarty.const._GLOBAL_LEFT}>;"><a href="#" onclick="xoopsGetElementById('ixt_block_login_form').style.display = 'block'; xoopsGetElementById('ixt_openid-verify-form2').style.display = 'none'; return false;"><{$lang_back2normoid}></a></div>
    </div>
    <br />
   <{/if}> 
   <{if $allow_registration }>
    <div style="text-align: <{$smarty.const._GLOBAL_RIGHT}>;">
     <p><{$lang_notregister}></p>
    </div>
   <{/if}>
  </div>
  <div align="left">
  <a name="lost"></a> 
  <h3><{$lang_lostpassword}></h3>
  <p><{$lang_noproblem}></p>
  <form action="lostpass.php" method="post">
    <label for="edit-email"><{$lang_youremail}><span class="form-required" title="This field is required.">*</span></label>
    <div>
     <input type="text" name="email" size="40" maxlength="40" />
     <input type="hidden" name="op" value="mailpasswd" />
     <input type="hidden" name="t" value="<{$mailpasswd_token}>" />
    </div>
    <p></p>
    <div align="left">
     <span class="ixt-button-wrapper ">
      <span class="l"></span><span class="r"></span>
      <input type="submit" name="sendpassword" value="<{$lang_sendpassword}>" class="ixt-button" />
     </span>
    </div>
  </form>
  </div>
 </div>

<{else }>

<div style="position: relative;height: 250px;">
 <div style="float: <{$smarty.const._GLOBAL_LEFT}>; width: 80% ">
  <fieldset style="padding: 10px;">
  <legend style="font-weight: bold;"><{$smarty.const._US_RESETPASSWORD}></legend>
  <h1><{$smarty.const._US_RESETPASSTITLE}></h1>
  <div><{$smarty.const._US_RESETPASSINFO}></div>
  <br />
  <form action="resetpass.php" method="post">
   <{$lang_youremail}>
   <input type="text" name="email" size="26" maxlength="100" />
   <br />
   <{$lang_username}>
   <input type="username" name="username" size="26" maxlength="60" value="<{$lang_uname}>"/>
   <br />
   <{$lang_currentpass}>
   <input type="password" name="c_password" size="26" maxlength="255" />
   <br />
   <{$lang_newpass}>
   <input type="password" name="password" size="26" maxlength="255" />
   <br />
   <{$lang_newpass2}>
   <input type="password" name="password2" size="26" maxlength="255" />
   &nbsp;&nbsp;
   <input type="hidden" name="op" value="resetpass" />
   <input type="hidden" name="t" value="<{$resetpassword_token}>" />
   <br />
   <br />
   <input type="submit" value="<{$smarty.const._US_RESETPASSWORD}>" />
  </form>
  </fieldset>
 </div>
</div>
<{/if}>

</div>